package com.wlc.oop.demo06;

/**
 * @author 王立朝 wanglichao@champion-credit.com
 * @description A
 * @date 2021-06-27 18:04
 */
public class A extends Teacher {

    @Override
    public void he() {
        System.out.println("hello A");
    }

    public static void main(String[] args) {
        A a = new A();
        a.he();
        a.say();
        System.out.println(a.getName() + " " + a.getAge() + "  ");

    }
}
